package com.hd.assistant.biz.util;

import java.util.HashMap;

public class PaipaiUtil {
	public static String APP_OAUTH_ID_ASSISTANT = "700136169";
	public static String SECRET_OAuth_Key_ASSISTANT = "acD85sAvmoNI9OwL";
	public static String PAIPAI_OAUTH_URL = "http://fuwu.paipai.com/my/app/authorizeGetAccessToken.xhtml?responseType=access_token&appOAuthID=";
	public static String getRedirectLoginUrl(String oauthId){
		return PAIPAI_OAUTH_URL+oauthId;
	}
	//存储cookie name  不同应用存不同
	public static HashMap<String,String> cookieMap = new HashMap<String, String>();
	public static HashMap<String,String> oauthKeysMap = new HashMap<String, String>();
	static{
		cookieMap.put(APP_OAUTH_ID_ASSISTANT+"", "q1id");//助手 q1id
		oauthKeysMap.put(APP_OAUTH_ID_ASSISTANT, SECRET_OAuth_Key_ASSISTANT);
	}
}
